.user-usage-profile {
  min-height: 100vh;
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 24px;
}

.profile-container-800 {
  width: 1000px;
  max-width: 100%;
  margin: 0 auto;
}

.page-title {
  color: #ffffff;
  margin-bottom: 16px !important;
  font-weight: 600;
}

.usage-info {
  margin-bottom: 24px;
}

.usage-info .ant-typography {
  color: #e0e0e0;
}

.user-info-section {
  margin-bottom: 32px;
}

.user-avatar-container {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #1a1a1a;
  border-radius: 12px;
  border: 1px solid #333333;
}

.user-details {
  margin-left: 20px;
}

.user-details .ant-typography {
  color: #ffffff;
  margin: 0 0 4px 0;
}

.user-details .ant-typography-secondary {
  color: #b0b0b0;
}

.points-usage-card {
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.other-usage-card {
  background: rgba(13, 13, 13, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: white;
  backdrop-filter: blur(10px);
}

/* 时间筛选器样式 */
.time-filter {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-right: 8px;
}

.filter-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.date-range {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* 表格样式 */
.usage-events-table {
  width: 100%;
  overflow: hidden;
}

.table-header {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.table-row {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
}

.table-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.table-cell {
  flex: 1;
  text-align: left;
  padding: 0 12px;
  font-size: 14px;
}

.time-cell {
  flex: 1.2;
}

/* 分页样式 */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 4px;
}

.page-btn {
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 32px;
  height: 32px;
}

.page-btn.active {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

/* 调整按钮样式 */
.pagination button,
.time-filter button {
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.pagination button:hover,
.time-filter button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.pagination button:disabled,
.time-filter button:disabled {
  color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.06);
  cursor: not-allowed;
}

.points-usage-card .ant-card-head,
.other-usage-card .ant-card-head {
  background: #1a1a1a;
  border-bottom: 1px solid #333333;
  color: #ffffff;
}

.points-usage-card .ant-card-body,
.other-usage-card .ant-card-body {
  background: #1a1a1a;
  color: #ffffff;
  padding: 24px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left .ant-typography {
  color: #ffffff;
  font-weight: 600;
}

.card-header .ant-typography-secondary {
  color: #b0b0b0;
}

.points-usage-content {
  margin-bottom: 20px;
}

.points-usage-info {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
}

/* 进度条文本样式 */
.ant-progress-text {
  color: #ffffff !important;
}

.points-usage-info .ant-typography {
  color: #ffffff;
}

.points-usage-info .ant-typography-secondary {
  color: #b0b0b0;
}

.points-usage-actions {
  display: flex;
  justify-content: flex-end;
}

.other-usage-list {
  margin-bottom: 20px;
}

.usage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #333333;
}

.usage-item:last-child {
  border-bottom: none;
}

.usage-item-left {
  display: flex;
  flex-direction: column;
}

.usage-item-left .ant-typography {
  color: #ffffff;
  margin-bottom: 4px;
}

.usage-item-left .ant-typography-secondary {
  color: #b0b0b0;
}

.usage-item-right .ant-typography {
  color: #ffffff;
}

.usage-actions {
  display: flex;
  justify-content: flex-end;
}

/* 充值选项样式 */
.recharge-option {
  padding: 16px 20px;
  border: 2px solid #333333;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  background: #1a1a1a;
  margin-bottom: 12px;
}

.recharge-option:hover {
  border-color: #6F01CF;
  background: rgba(111, 1, 207, 0.1);
}

.recharge-option.selected {
  border-color: #6F01CF;
  background: rgba(111, 1, 207, 0.2);
}

.recharge-option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.recharge-option-label {
  font-weight: 600;
  color: #ffffff;
  font-size: 16px;
}

.recharge-option-content .ant-typography-secondary {
  color: #b0b0b0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .user-usage-profile {
    padding: 16px;
  }
  
  .user-avatar-container {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  
  .user-details {
    margin-left: 0;
    margin-top: 16px;
  }
  
  .user-details .ant-typography {
    margin-bottom: 8px;
  }
  
  .card-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  
  .header-left {
    margin-bottom: 12px;
  }
  
  .points-usage-card .ant-card-body,
  .other-usage-card .ant-card-body {
    padding: 16px;
  }
  
  .points-usage-actions,
  .usage-actions {
    justify-content: center;
  }
  
  .usage-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }
  
  .usage-item-right {
    margin-top: 12px;
    width: 100%;
  }
  
  .points-usage-info {
    flex-direction: column;
    gap: 8px;
  }
}

/* 按钮样式 */
.points-usage-actions .ant-btn-primary {
  background-color: #6F01CF;
  border-color: #6F01CF;
}

.points-usage-actions .ant-btn-primary:hover {
  background-color: #8a11e4;
  border-color: #8a11e4;
}

/* 模态框样式 */
.ant-modal {
  background-color: transparent;
}

.ant-modal-content {
  background-color: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  color: #ffffff;
}

.ant-modal-header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #333333;
}

.ant-modal-title {
  color: #ffffff;
  font-weight: 600;
}

.ant-modal-footer {
  background-color: #1a1a1a;
  border-top: 1px solid #333333;
}

.ant-modal-footer .ant-btn {
  border-radius: 8px;
}

.ant-modal-footer .ant-btn-primary {
  background-color: #6F01CF;
  border-color: #6F01CF;
}

.ant-modal-footer .ant-btn-primary:hover {
  background-color: #8a11e4;
  border-color: #8a11e4;
}

.ant-modal-footer .ant-btn-default {
  color: #ffffff;
  background-color: #333333;
  border-color: #444444;
}

.ant-modal-footer .ant-btn-default:hover {
  background-color: #444444;
  border-color: #555555;
}

/* Avatar 样式 */
.user-avatar-container .ant-avatar {
  box-shadow: 0 0 16px rgba(111, 1, 207, 0.3);
}

/* 微信支付模态框样式 */
.payment-modal-content {
  text-align: center;
  padding: 20px;
}

.payment-title {
  margin-bottom: 20px;
}

.payment-title-text {
  font-size: 18px;
  color: #1890ff;
  font-weight: 600;
}

.payment-loading {
  padding: 40px;
}

.payment-loading-text {
  margin-top: 16px;
}

.payment-loading-text .ant-typography {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.payment-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.payment-qr-image {
  width: 256px;
  height: 256px;
  border: 2px solid #434343;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.payment-amount {
  margin-top: 16px;
}

.payment-amount .ant-typography {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 500;
}

.payment-order {
  margin-top: 8px;
}

.payment-order-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  word-break: break-all;
}

.payment-error {
  padding: 40px;
}

.payment-error .ant-typography {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

/* 支付成功状态样式 */
.payment-success {
  text-align: center;
  padding: 20px;
}

.payment-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: successPulse 1s ease-in-out;
}

.payment-success-title {
  font-size: 20px;
  color: #52c41a;
  font-weight: 600;
  margin-bottom: 16px;
}

.payment-success-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-success-info .ant-typography {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

/* 支付状态轮询样式 */
.payment-status {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 12px;
  background: rgba(24, 144, 255, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(24, 144, 255, 0.3);
}

.payment-status .ant-typography {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
}

/* 成功动画 */
@keyframes successPulse {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 响应式设计 - 微信支付模态框 */
@media (max-width: 768px) {
  .payment-qr-image {
    width: 200px;
    height: 200px;
  }
  
  .payment-title-text {
    font-size: 16px;
  }
  
  .payment-success-icon {
    font-size: 36px;
  }
  
  .payment-success-title {
    font-size: 18px;
  }
}